/**
 * 地区表 api 封装
 *
 * @Author:    zhoujk
 * @Date:      2025-01-23 04:08:26
 */
import { postRequest, getRequest } from '/@/lib/axios'

export const areaApi = {
  /**
   * 分页查询地区表
   */
  page: (param) => {
    return postRequest('/b-operation/area/page', param)
  },

  /**
   * 根据id查询地区
   */
  findOne: (param) => {
    return postRequest('/b-operation/area/find_id', param)
  },

  /**
   * 根据code查询地区
   */
  findList: (param) => {
    return postRequest('/b-operation/area/find_code', param)
  },
}
